{% extends "base.html" %}
{% load static %}

{% block links %}
  <link rel="stylesheet" type="text/css" href="{% static 'css/online.css' %}">
  <!-- <script src="./online.js" defer="defer"></script> -->
  <title>小兵小兵</title>
{% endblock %}

{% block mainbody %}
  <div id="d-b">
    <button class="oper" id="b-z">装弹+</button>
    <button class="oper" id="b-f">防御○</button>
    <button class="oper" id="b-k">攻击→</button>
  </div>
  <div id="d-a">
    <button class="oper" id="b-d">单枪↑(黄)</button>
    <button class="oper" id="b-s">双枪↑↑</button>
    <button class="oper" id="b-h">核弹↑(紫)</button>
    <button class="oper" id="con">游戏结束！点击可退出本局</button>
  </div>
  <canvas id="c-m" width="600" height="600"></canvas>
{% endblock %}